<template>
    <div>
        <h1>测试h函数与template语法混用</h1>
        <div>
            <hChildren info="number" />
        </div>
    </div>
</template>

<script setup>
import { defineComponent, h } from "vue";

const hChildren = defineComponent({
    props: {
        info: {
            type: String,
            default: ''
        }
    },
    setup() {
        return (props) => h('div',null,`123456 is ${props.info}`)
    }
});
</script>
